//Source file: D:\\JavaSE\\software-learning\\software-engineering\\work3\\goldCardUser.java


public class goldCardUser extends User {
   @Override
   public double calculateDiscount(double price) {
      return price * 0.8; // 20% discount for gold card users
   }
}
